#include <QApplication>
#include <QHBoxLayout>
#include <QLabel>
#include <QPushButton>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QWidget *window = new QWidget;
    window->setWindowTitle("Hello World");
    QLabel *label = new QLabel("<h2><i>*</i> "
                           "<font color=red>Click Quit!!!</font></h2>");
/*    label->show();*/
    QPushButton *button = new QPushButton("Quit");
    QObject::connect(button, SIGNAL(clicked()),
                     &app, SLOT(quit()));
    QHBoxLayout *layout = new QHBoxLayout;
    layout->addWidget(label);
    layout->addWidget(button);
    window->setLayout(layout);
    window->show();

    return app.exec();
}


